package com.bicon.im.service;

import com.bicon.life.core.base.annotation.*;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @date: 2017/6/26
 * @creatorBy SYG
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableCircuitBreaker
@EnableLogKafkaMQ
@EnableMyBatisPlusConfig //Mybatis配置
@MapperScan("com.bicon.im.service.mapper")
@EnableRedis
@EnableHttpLogAspect //http请求日志
@EnableGlobalExceptionHandler //统一异常处理
@EnableSystemInterceptor //系统拦截器
public class ImServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ImServiceApplication.class, args);
    }
}
